<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Rmsbimg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rmsbImg" class="form-control" name="row[rmsbImg]" type="text" value="{$row.rmsbImg|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zmimg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zmImg" class="form-control" name="row[zmImg]" type="text" value="{$row.zmImg|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fmimg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fmImg" class="form-control" name="row[fmImg]" type="text" value="{$row.fmImg|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" min="0" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shopname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shopname" data-rule="required" class="form-control" name="row[shopname]" type="text" value="{$row.shopname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Keywords')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-keywords" data-rule="required" class="form-control" name="row[keywords]" type="text" value="{$row.keywords|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-description" data-rule="required" class="form-control" name="row[description]" type="text" value="{$row.description|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_ids')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_ids" data-rule="required" data-source="service/index" data-multiple="true" class="form-control selectpage" name="row[service_ids]" type="text" value="{$row.service_ids|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Avatar')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-avatar" data-rule="required" class="form-control" name="row[avatar]" type="text" value="{$row.avatar|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('State')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-state" data-rule="required" class="form-control selectpicker" name="row[state]">
                {foreach name="stateList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.state"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Level')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-level" data-rule="required" min="0" class="form-control" name="row[level]" type="number" value="{$row.level|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Islive')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-islive" data-rule="required" class="form-control" name="row[islive]" type="number" value="{$row.islive|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Isself')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-isself" data-rule="required" class="form-control" name="row[isself]" type="number" value="{$row.isself|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bio')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-bio" class="form-control " rows="5" name="row[bio]" cols="50">{$row.bio|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('City')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class='control-relative'><input id="c-city" class="form-control" data-toggle="city-picker" name="row[city]" type="text" value="{$row.city|htmlentities}"></div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Return')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-return" data-rule="required" class="form-control" name="row[return]" type="text" value="{$row.return|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Like')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-like" data-rule="required" class="form-control" name="row[like]" type="number" value="{$row.like|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Score_describe')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score_describe" data-rule="required" class="form-control" step="0.1" name="row[score_describe]" type="number" value="{$row.score_describe|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Score_service')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score_service" data-rule="required" class="form-control" step="0.1" name="row[score_service]" type="number" value="{$row.score_service|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Score_deliver')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score_deliver" data-rule="required" class="form-control" step="0.1" name="row[score_deliver]" type="number" value="{$row.score_deliver|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Score_logistics')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-score_logistics" data-rule="required" class="form-control" step="0.1" name="row[score_logistics]" type="number" value="{$row.score_logistics|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weigh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weigh" data-rule="required" class="form-control" name="row[weigh]" type="number" value="{$row.weigh|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Verify')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-verify" data-rule="required" class="form-control selectpicker" name="row[verify]">
                {foreach name="verifyList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.verify"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-status" class="form-control selectpicker" name="row[status]">
                {foreach name="statusList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.status"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-business_code" class="form-control" name="row[business_code]" type="text" value="{$row.business_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_type" class="form-control" name="row[contact_type]" type="text" value="{$row.contact_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_name" class="form-control" name="row[contact_name]" type="text" value="{$row.contact_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_id_doc_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_id_doc_type" class="form-control" name="row[contact_id_doc_type]" type="text" value="{$row.contact_id_doc_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_id_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_id_number" class="form-control" name="row[contact_id_number]" type="text" value="{$row.contact_id_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_id_doc_copy')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-contact_id_doc_copy" class="form-control" size="50" name="row[contact_id_doc_copy]" type="text" value="{$row.contact_id_doc_copy|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-contact_id_doc_copy" class="btn btn-danger faupload" data-input-id="c-contact_id_doc_copy" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-contact_id_doc_copy"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-contact_id_doc_copy" class="btn btn-primary fachoose" data-input-id="c-contact_id_doc_copy" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-contact_id_doc_copy"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-contact_id_doc_copy"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_id_doc_copy_back')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-contact_id_doc_copy_back" class="form-control" size="50" name="row[contact_id_doc_copy_back]" type="text" value="{$row.contact_id_doc_copy_back|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-contact_id_doc_copy_back" class="btn btn-danger faupload" data-input-id="c-contact_id_doc_copy_back" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-contact_id_doc_copy_back"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-contact_id_doc_copy_back" class="btn btn-primary fachoose" data-input-id="c-contact_id_doc_copy_back" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-contact_id_doc_copy_back"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-contact_id_doc_copy_back"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_period_begin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_period_begin" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[contact_period_begin]" type="text" value="{$row.contact_period_begin}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_period_end')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_period_end" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[contact_period_end]" type="text" value="{$row.contact_period_end}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_authorization_letter')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-business_authorization_letter" class="form-control" name="row[business_authorization_letter]" type="text" value="{$row.business_authorization_letter|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile_phone" class="form-control" name="row[mobile_phone]" type="text" value="{$row.mobile_phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_email" class="form-control" name="row[contact_email]" type="text" value="{$row.contact_email|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subject_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subject_type" class="form-control" name="row[subject_type]" type="text" value="{$row.subject_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('License_copy')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-license_copy" class="form-control" size="50" name="row[license_copy]" type="text" value="{$row.license_copy|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-license_copy" class="btn btn-danger faupload" data-input-id="c-license_copy" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-license_copy"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-license_copy" class="btn btn-primary fachoose" data-input-id="c-license_copy" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-license_copy"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-license_copy"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('License_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-license_number" class="form-control" name="row[license_number]" type="text" value="{$row.license_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Merchant_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-merchant_name" class="form-control" name="row[merchant_name]" type="text" value="{$row.merchant_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('License_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-license_address" class="form-control" name="row[license_address]" type="text" value="{$row.license_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('License_period_begin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-license_period_begin" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[license_period_begin]" type="text" value="{:$row.license_period_begin?datetime($row.license_period_begin):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('License_period_end')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-license_period_end" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[license_period_end]" type="text" value="{:$row.license_period_end?datetime($row.license_period_end):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cert_copy')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-cert_copy" class="form-control" size="50" name="row[cert_copy]" type="text" value="{$row.cert_copy|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="faupload-cert_copy" class="btn btn-danger faupload" data-input-id="c-cert_copy" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="false" data-preview-id="p-cert_copy"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-cert_copy" class="btn btn-primary fachoose" data-input-id="c-cert_copy" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-cert_copy"></span>
            </div>
            <ul class="row list-inline faupload-preview" id="p-cert_copy"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cert_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cert_type" class="form-control" name="row[cert_type]" type="text" value="{$row.cert_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cert_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cert_number" class="form-control" name="row[cert_number]" type="text" value="{$row.cert_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Company_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-company_address" class="form-control" name="row[company_address]" type="text" value="{$row.company_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Certificate_period_begin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-certificate_period_begin" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[certificate_period_begin]" type="text" value="{:$row.certificate_period_begin?datetime($row.certificate_period_begin):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Certificate_period_end')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-certificate_period_end" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[certificate_period_end]" type="text" value="{:$row.certificate_period_end?datetime($row.certificate_period_end):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_account_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_account_type" class="form-control" name="row[bank_account_type]" type="text" value="{$row.bank_account_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Account_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account_number" class="form-control" name="row[account_number]" type="text" value="{$row.account_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Account_bank')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account_bank" class="form-control" name="row[account_bank]" type="text" value="{$row.account_bank|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card_address" class="form-control" name="row[id_card_address]" type="text" value="{$row.id_card_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_address_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_address_code" class="form-control" name="row[bank_address_code]" type="text" value="{$row.bank_address_code|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_branch_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_branch_id" data-rule="required" data-source="bank/branch/index" class="form-control selectpage" name="row[bank_branch_id]" type="text" value="{$row.bank_branch_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_name" class="form-control" name="row[bank_name]" type="text" value="{$row.bank_name|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
